package com.zmn.oms.business.interfaces.orderattachment;

import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.dto.orderattachment.ModifyOrderAttachmentDTO;
import com.zmn.oms.model.dto.work.masterwork.OrderImageDTO;
import com.zmn.oms.model.entity.orderattachment.OrderAttachmentQuery;
import com.zmn.oms.model.entity.work.OrderWork;
import com.zmn.oms.model.vo.work.attachmen.OrderWorkAttachmentVO;

/**
 * 类描述：工单附件
 * 因迁移拆分旧附件数据，需要一个符合新需求的工单附件处理类。
 *
 * @author liuying
 * @date 2021/06/15 09:51
 * @see com.zmn.oms.business.interfaces.attachment.AttachmentBService
 */
@Deprecated
public interface OrderAttachmentBService {

    /**
     * 获取附件信息
     *
     * @param
     * @return
     */
    OrderWorkAttachmentVO getOrderAttachmentByOrderWork(OrderWork orderWork);

    /**
     * 渠道配置的工单附件
     *
     * @param orderAttachmentQuery
     * @return
     */
    OrderWorkAttachmentVO getOrderAttachmentByQuery(OrderAttachmentQuery orderAttachmentQuery);

    /**
     * 修改附件资源
     *
     * @param modifyOrderAttachmentDTO
     */
    void modifyOrderWorkAttachment(ModifyOrderAttachmentDTO modifyOrderAttachmentDTO) throws OmsBaseException;

    /**
     * 修改附件资源
     *
     * @param orderImageDTO
     */
    void modifyOrderWorkAttachment(OrderImageDTO orderImageDTO, OrderWork orderWork) throws OmsBaseException;

}
